<div class="editcate_top">
    <h2>Cập nhật khuyến mại</h2>
    <a href="javascript:void(0)" onclick ="$('#light_adct').hide();$('#fade_adct').hide()"><img src="<?php echo img_link('close.png', 'admin'); ?>" class="png" /></a>
</div>


    <?php if($this->message->has('error')):?>
	<div><h2><?php echo $this->message->display();?></h2></div>
	<?php endif;?>

<form enctype="multipart/form-data" method="post" action="" id="user_form">
<div class="editcate_ct">
	<div class="boxadd">
    	<ul class="linect">
            <li>
                <span class="left"><b>Họ tên:</b></span>
                <span class="right"><input type="text" name="name" value="<?php echo ($row ? $row->name : '');?>" style="width:40%;" /></span>
            </li>
            <li>
                <span class="left"><b>Yahoo:</b></span>
                <span class="right"><input type="text" name="yahoo" value="<?php echo ($row ? $row->yahoo : '');?>" style="width:40%;" /></span>
            </li>
            <li>
                <span class="left"><b>Điện thoại: </b></span>
                <span class="right"><input name="tel" value="<?php echo ($row ? $row->tel : '');?>" type="text" style="width:40%;"></span>
            </li>
            <li>
                <span class="left"><b>Email: </b></span>
                <span class="right">
                   <input name="email" style="width: 40%;" value="<?php echo($row ? $row->email : '')?>"/>
                </span>
            </li>
            <li>
                <span class="left"><b>Trạng thái: </b></span>
                <span class="right">
                    <select name="status">
                        <option <?php echo ($row && $row->status=='yes' ? 'selected="selected"' : '');?> value="yes">Họa động</option>
                        <option <?php echo ($row && $row->status=='no' ? 'selected="selected"' : '');?> value="no">Không họa động</option>
                    </select>
                </span>
            </li>
            <!-- 
            <li>
                <span class="left"><b>Nhóm: </b></span>
                <span class="right">
				    <select name="group_id" style="width: 200px; margin-left:5px;">
				        <?php foreach($group_list as $i => $g): ?>
				        <option <?php if($g['group_id'] == set_value('group_id')) echo 'selected'; ?> value="<?php echo $g['group_id']; ?>"><?php echo ucfirst($g['group_name']); ?></option>
				        <?php endforeach; ?>
				    </select>
                </span>
            </li>
        	-->
        </ul>
    </div>
    <div class="btarticle">
    	<input type="button" value="Cancel" class="btn" onclick="$('#light_adct').hide();$('#fade_adct').hide();" />
        <input type="submit" value="Save & Continute" class="btn" />

    </div>
</div>
</form>